Spherical shapes topic

These shape generators return spherical GeoJSON for use with GeoPath.

TIP: To generate a great arc (a segment of a great circle), pass a GeoJSON LineString geometry object to a GeoPath. D4’s projections use geodesic interpolation for intermediate points.

Classes

GeoCircle Spherical shapes
A geometry geographic generator for creating circles.
GeoCircle Spherical shapes
A geometry geographic generator for creating circles.
GeoCircle Spherical shapes
A geometry geographic generator for creating circles.
GeoGraticule Spherical shapes
A geometry geographic generator for creating graticules.
GeoGraticule Spherical shapes
A geometry geographic generator for creating graticules.
GeoGraticule Spherical shapes
A geometry geographic generator for creating graticules.

Functions

geoGraticule10() Map Spherical shapes
A convenience method for directly generating the default 10° global graticule as a GeoJSON MultiLineString geometry object.
geoGraticule10() Map Spherical shapes
A convenience method for directly generating the default 10° global graticule as a GeoJSON MultiLineString geometry object.
geoGraticule10() Map Spherical shapes
A convenience method for directly generating the default 10° global graticule as a GeoJSON MultiLineString geometry object.